<!DOCTYPE html>
<html>
    <head>
        <title>
            <?php echo @$title ?>
        </title>
        <meta charset="utf-8">
        <?php echo Asset::css('bootstrap.css'); ?>
        <?php echo Asset::css('bootstrap-theme.css'); ?>
        <meta name="viewport" content="width=divice-width, initial-scale = 1" />
    </head>
    <body>
        <?php include('navigation.php'); ?>
        <div class="container">
            <div class="row">
                <div class="col-md-16">
                    <h2><?php echo $title ?></h2>
                    <hr/>
                </div>
                <?php if(Session::get_flash('success')): ?>
                <div class="alert alert-success">
                    <p> <?php echo implode('</p><p>', (array) Session::get_flash('success')) ?> </p>
                </div>
                <?php endif; if(Session::get_flash('danger')): ?>
                <div class="alert alert-danger">
                    <p> <?php echo implode('</p><p>', (array) Session::get_flash('danger')) ?> </p>
                </div>
                <?php endif;?>
            </div>
            <?php echo @$content; ?>
        </div> <!-- /container -->
        <footer class="text-center navbar-fixed-bottom">
            <p>Developed by <kbd>X-Men</kbd></p>
        </footer>
        <?php echo Asset::js('jquery.js'); ?>
        <?php echo Asset::js('bootstrap.js'); ?>
    </body> 
</html>
